package com.zhangye.test.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.zhangye.test.model.ProxyScanCount;


@Repository
public interface ProxyScanCountMapper {

	int deleteByPrimaryKey(Long id);

    int insert(ProxyScanCount record);

    ProxyScanCount selectByPrimaryKey(Long id);

    List<ProxyScanCount> selectAll();

    int updateByPrimaryKey(ProxyScanCount record);

    List<ProxyScanCount> selectByWhere(@Param("where")String where);
    
    int deleteByWhere(@Param("where") String where);

    List<Map<String,Object>> selectByCounts(@Param("where")String where);
}